Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix deprecation warning about promise.defer() #1292

Merged
merged 3 commits into from
Aug 24, 2017
Merged

Fix deprecation warning about promise.defer() #1292

merged 3 commits into from
Aug 24, 2017

Conversation

MTRNord
Copy link
Contributor

@MTRNord MTRNord commented Aug 13, 2017

webpack3 started to complain about promise.defer() being deprecated

Copy link
Contributor

@lukebarnard1 lukebarnard1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

deferred.reject({err: err, response: response});
return;
return new Promise((resolve, reject) => {
let response_return = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unused

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm yeah it was already unused before. I will clean it up

@lukebarnard1
Copy link
Contributor

Also, this needs sign-off

@MTRNord
Copy link
Contributor Author

MTRNord commented Aug 24, 2017

Signed-Off by Marcel Radzio [email protected]

@MTRNord
Copy link
Contributor Author

MTRNord commented Aug 24, 2017

Uhm why do my tests fail. Related to old develop base?

@lukebarnard1
Copy link
Contributor

lukebarnard1 commented Aug 24, 2017

Related to old develop base?

The merge is with latest develop

@lukebarnard1 lukebarnard1 merged commit 006919c into matrix-org:develop Aug 24, 2017
@MTRNord MTRNord deleted the promiseDeprecationWarnings branch August 24, 2017 15:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants